package jp.eisbahn.mgapi.api.voice;

import org.json.simple.JSONObject;

import jp.eisbahn.mgapi.api.Model;

/**
 * This model class represents a photo.
 * @author Yoichiro Tanaka
 */
public class Photo extends Model {

    /**
     * Initialize this instance.
     * @param newOriginal The JSON object.
     */
    public Photo(final JSONObject newOriginal) {
        super(newOriginal);
    }

    /**
     * Retrieve a thumbnail URL.
     * @return The URL string.
     */
    public final String getThumbnailUrl() {
        return getPropertyString("thumbnail_url");
    }

    /**
     * Retrieve a image URL.
     * @return The URL string.
     */
    public final String getImageUrl() {
        return getPropertyString("image_url");
    }

}
